Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect bidir 5665 v9 #10818

Closed
wants to merge 3 commits into from
Closed

Conversation

catenacyber
Copy link
Contributor

Link to redmine ticket:
https://redmine.openinfosecfoundation.org/issues/5665

Describe changes:

  • allows bidirectional signature matching !
SV_BRANCH=pr/1758

OISF/suricata-verify#1758

Draft again because of second commit
General feedback expected :-)

TODO :

  • Give me better names
  • Where should I document these new keywords bidir.toclient ?
  • set only_ts only if the keyword is ambiguous ?
  • more tests !!!! Throw me rules examples ! negative and positive...

#10685 with additional commit to get fast_pattern toclient for bidirectional signatures

Ticket: 5665

This is done with `alert ip any any => any any`
The => operator means that we will need both directions
By using keywords bidir.toclient and bidir.toserver, the following
keywords are forced to the direction even if they can match
on both directions.

Ticket: 5665
@catenacyber
Copy link
Contributor Author

cc @zoomequipd

Copy link

codecov bot commented Apr 12, 2024

Codecov Report

Attention: Patch coverage is 88.94737% with 21 lines in your changes are missing coverage. Please review.

Project coverage is 82.67%. Comparing base (172b55c) to head (8528b24).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #10818      +/-   ##
==========================================
- Coverage   82.75%   82.67%   -0.09%     
==========================================
  Files         928      928              
  Lines      247913   248044     +131     
==========================================
- Hits       205162   205064      -98     
- Misses      42751    42980     +229     
Flag Coverage Δ
fuzzcorpus 63.99% <61.05%> (-0.25%) ⬇️
suricata-verify 62.02% <84.73%> (+0.02%) ⬆️
unittests 62.16% <56.84%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline 20053

@catenacyber
Copy link
Contributor Author

Continued in #10904

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants